package com.ihelp.rest.mis.pojo;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;


@Entity
@SuppressWarnings("deprecation")
@Table(name = "ABNORMALTITLE")
@org.hibernate.annotations.Entity(selectBeforeUpdate = true, dynamicInsert = true, dynamicUpdate = true)
public class Abnormaltitle implements Serializable{

	private static final long serialVersionUID = 1L;
	@Id
    @Column(name = "ID", length = 64)
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "guid")
	private String id;
	
	@Column(name = "TYPE", columnDefinition="int(3) default 0")
	private Integer type;
	
	@Column(name = "USERCODE", length = 30)
	private String usercode;
	
	@Column(name = "TITLE", length = 500)
	private String title; 
	
	@Column(name = "ADDTIME", length = 19)
	private String addtime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getUsercode() {
		return usercode;
	}

	public void setUsercode(String usercode) {
		this.usercode = usercode;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getAddtime() {
		return addtime;
	}

	public void setAddtime(String addtime) {
		this.addtime = addtime;
	}
	
	
}
